import cv2

image = cv2.imread('p.jpg')
laplacian = cv2.Laplacian(image,cv2.CV_64F)
laplaAbs = cv2.convertScaleAbs(laplacian)
cv2.imshow('Input',image)
cv2.imshow('laplacian',laplacian)
cv2.waitKey()
cv2.destroyAllWindows()

